<template>
    <div>
        <!-- 面包屑导航 -->
        <el-breadcrumb separator-class="el-icon-arrow-right">
            <el-breadcrumb-item :to="{ path: '/home' }">首页</el-breadcrumb-item>
            <el-breadcrumb-item>{{t1}}</el-breadcrumb-item>
            <el-breadcrumb-item>{{t2}}</el-breadcrumb-item>
        </el-breadcrumb>
        <!-- 卡片视图区 -->
        <el-card>
            <slot></slot>
        </el-card>
    </div>
</template>

<script>
export default {
  props: ["t1", "t2"]
};
</script>

<style lang="scss" scoped>
</style>